class LayData(object):
    @staticmethod
    def data(code, msg, count, data):
        return {'code': code, 'msg': msg, 'count': count, 'data': data}


    @staticmethod
    def data2(code,msg):
        return {'code': code, 'msg': msg}